AMD IOMMU: Invalidate all pages on domain destruction
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 3 Dec 2008 15:56:33 +0000 (15:56 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 3 Dec 2008 15:56:33 +0000 (15:56 +0000)
commit1c8299d8466c5bc4c59d748a7e5d9121f67ec432
tree8580cf0b7d3e22daac6f6a57caa6c49332e36163
parent371971198e870064bf0a82a6c9c909d4d28098ff
AMD IOMMU: Invalidate all pages on domain destruction

Attached patch adds support to invalidate all pages associated with
the same domain ID on domain destruction.

Signed-off-by: Wei Wang <wei.wang2@amd.com>
xen/drivers/passthrough/amd/iommu_map.c
xen/drivers/passthrough/amd/pci_amd_iommu.c
xen/include/asm-x86/hvm/svm/amd-iommu-proto.h